From a5728591c5341fe8b64060916baf735bc2438eb2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 30 Jun 2023 18:50:20 +0100 Subject: Generate separate WASM data segments --- ...ata(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 6561a3ef..3736a3e2 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -13,12 +13,12 @@ Function[1]: Code[1]: - func[0] size=8 Data[1]: - - segment[0] <.data> memory=0 size=9 - init i32=0 + - segment[0] <.data.shed__string__0> memory=0 size=9 - init i32=0 - 0000000: 0500 0000 6865 6c6c 6f ....hello Custom: - name: "linking" - segment info [count=1] - - 0: .data p2align=2 [ ] + - 0: .data.shed__string__0 p2align=2 [ ] - symbol table [count=2] - 0: F func=0 [ binding=global vis=default ] - 1: D segment=0 offset=0 size=9 [ binding=global vis=default ] -- cgit v1.2.3